LOCAL_PATH := $(call my-dir)

###########################
#
# LUA shared library
#
###########################

include $(CLEAR_VARS)

LOCAL_MODULE := LUA

LUA_PATH := lua-5.1.4/src

LOCAL_C_INCLUDES := $(LUA_PATH)

LOCAL_SRC_FILES := \
	$(LUA_PATH)/lapi.c \
	$(LUA_PATH)/lauxlib.c \
	$(LUA_PATH)/lbaselib.c \
	$(LUA_PATH)/lcode.c \
	$(LUA_PATH)/ldblib.c \
	$(LUA_PATH)/ldebug.c \
	$(LUA_PATH)/ldo.c \
	$(LUA_PATH)/ldump.c \
	$(LUA_PATH)/lfunc.c \
	$(LUA_PATH)/lgc.c \
	$(LUA_PATH)/linit.c \
	$(LUA_PATH)/liolib.c \
	$(LUA_PATH)/llex.c \
	$(LUA_PATH)/lmathlib.c \
	$(LUA_PATH)/lmem.c \
	$(LUA_PATH)/loadlib.c \
	$(LUA_PATH)/lobject.c \
	$(LUA_PATH)/lopcodes.c \
	$(LUA_PATH)/loslib.c \
	$(LUA_PATH)/lparser.c \
	$(LUA_PATH)/lstate.c \
	$(LUA_PATH)/lstring.c \
	$(LUA_PATH)/lstrlib.c \
	$(LUA_PATH)/ltable.c \
	$(LUA_PATH)/ltablib.c \
	$(LUA_PATH)/ltm.c \
	$(LUA_PATH)/lundump.c \
	$(LUA_PATH)/lvm.c \
	$(LUA_PATH)/lzio.c \
	$(LUA_PATH)/print.c

LOCAL_LDLIBS := 

include $(BUILD_STATIC_LIBRARY)
